import axios from '@/request/axios'
import { EmployeeLoginReqForm, EmployeeLoginResData } from '@/entity/entityDefine'

export const employeeLogin = (data: EmployeeLoginReqForm) =>{
    return axios.post<EmployeeLoginResData>('/employee/login',data)
}

export const employeeLogout = () =>{
    return axios.post<EmployeeLoginResData>('/employee/logout')
}